package demo1;

public class 类型转换复习01 {
    public static void main(String[] args) {
        //char -> String
        char ch = 'a';
        String str = "" + ch;
        String str2 = Character.toString(ch);
        String str3 = String.valueOf(ch);
        System.out.println(str+"\t"+str2+"\t"+str3);
    }
}
